update average item cost with api or interfase

I need to update average item cost from some items, I need a script about how to populate this interfase and concurrent name to perform the apis, I am working in EBS 12

Update average item cost using api or interfase

I need to update average item cost from some items, Which api or interfase do I need to populate and which concurrent do I need to perform to do this?, I am working with R12 EBS, Can you send me a script to populate apis or interfases ?